package com.oig.sys.base.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.io.Serializable;


/**
 * @author wuxl
 */
@Getter
@Setter
@ToString
@Entity
@Table(name = "tb_param")
public class TbParam implements Serializable {

	/**
	 */
	@Id
	@Column(name = "code", nullable = false)
	private String code;

	/**
	 */
	@Column(name = "name", length = 40)
	private String name;

	/**
	 */
	@Column(name = "type")
	private String type;

	/**
	 */
	@Column(name = "value", length = 128)
	private String value;

	/**
	 */
	@Column(name = "remark")
	private String remark;

	/**
	 * 0-正常 1-注销
	 */
	@Column(name = "status")
	private String status;

	/**
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "update_time")
	private java.util.Date updateTime;

	/**
	 */
	@Column(name = "update_user", length = 64)
	private String updateUser;

	/**
	 */
	@Column(name = "show_flag")
	private String showFlag;

	/**
	 */
	@Column(name = "modify_flag")
	private String modifyFlag;

	@Column(name = "cache_flag")
	private String cacheFlag;

	@Column(name = "index_flag")
	private String indexFlag;

}
